<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>qrcode</title>
    <script type="text/javascript" src="/static/js/jquery.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery.qrcode.min.js"></script>
</head>
<body>
<h1>QRCode</h1>
生成的二维码如下：<br>

<div id="qrcode"></div>

<script type="text/javascript">

    $('#qrcode').qrcode("www.imooc.com");

</script>
</body>
</html>